package com.campus.service;


import com.campus.model.User;

import java.util.List;
/**
 * @desc:
 * @author: Tournesol234
 * @date: 2024/11/22 14.41
 */
public interface UserService {

    User createUser(User user);

    User updateUser(Long id, User user);

    User getUserById(Long id);

    User getUserByUsername(String username);

    List<User> getAllUsers();

    void deleteUser(Long id);

    String login(String username, String password);
}
